package com.jaws.demo.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;

import com.jaws.core.common.vo.OpRequest;
import com.jaws.core.common.vo.OpResponse;
import com.jaws.demo.vo.UserQueryVO;

/**
 * 调用account
 *
 * @author maojian
 * @date 2018-03-09 17:09:49
 * @since v1.0.0
 */
@FeignClient(value = "yyfax-account")
@Service
public interface AccountFeign {

	/**
	 * 根据用户信息查询账户信息
	 *
	 * @param req
	 * @return
	 * @author maojian
	 * @date 2018-03-12 15:09:39
	 * @since v1.0.0
	 */
	@PostMapping(value = "/api/account/query_account_by_user")
	OpResponse queryAccountInfoByUser(OpRequest<UserQueryVO> req);


}
